import { Spin } from 'ant-design-vue'
import { defineComponent, onMounted, ref } from 'vue'
import { useRoute } from 'vue-router'

export default defineComponent({
  name: 'RvSetting',
  setup() {
    const route = useRoute()
    const data = ref({} as any)
    const loading = ref(false)
    onMounted(() => {
      // orderDetail()
    })

    // async function orderDetail() {
    //   try {
    //     data.value = await cinemaApi.getOrderDetail(route.query.orderNo)
    //   } finally {
    //   }
    // }

    return {
      data,
      loading
    }
  },
  render() {
    return <Spin spinning={this.loading}></Spin>
  }
})
